("An error has occurred during installation. Please check the log file to understand the error.")
)
)
)
(exit (quiet))
)
(set #installmode
(askbool
(prompt (cat
"Welcome to Warp3D.\n"
"Choose the installation mode.\n\n"
"If you have an older version of Warp3D installed, "
"you may want to choose uninstall now to avoid confusion with older drivers."
)
)
(help "Select Install if you want to install Warp3D, and Uninstall if you want to remove it. Warp3D is a hardware independent driver system for 3d accelerators.")
(choices
"Install"
"Uninstall"
)
(default 1)
)
)
(if (= #installmode 1)
; normal installation
(
(welcome (cat
"Welcome to the Warp3D installation. This utility will install or "
"update Warp3D, the hardware-independent 3D driver system, on your "
"Amiga. ")
)
(P_invalidate)
(message "The Installation program will now create a new directory \"Warp3D\" in your LIBS directory where the Warp3D libraries will be installed.")
(makedir "Libs:Warp3D/")
(makedir "Libs:Warp3D/GFXdrivers")
(makedir "Libs:Warp3D/HWdrivers")
; --- Try to find out if WarpUp is installed.
(if (exists "libs:Warp.library" (noreq))
(set #ppc 1)
(set #pcc 0)
)
(if (= #ppc 1)
(set #result
(askbool
(prompt "You seem to have WarpUp installed. Warp3D comes with a special PPC version that is usable for WarpUp applications. Do you want to install the PPC libraries, too?")
(help @askbool-help)
(choices "Yes" "No")
(default 1)
)
)
(if (= #result 0)
(set #ppc 0)
)
)
(copylib
(prompt "Copying the master library")
(help @copylib-help)
(source "libs/Warp3D.library")
(dest "libs:")
)
(if (= #ppc 1)
(copylib
(prompt "Copying the PPC master library")
(help @copylib-help)
(source "libs/Warp3DPPC.library")
(dest "libs:")
)
)
; ask for graphics driver
(set #gfx_sys
(askoptions
(prompt "Which graphics systems do you want to use with Warp3D ?")